import styled from 'styled-components'
import React, { useState, useEffect } from 'react'
import is from 'electron-is'

const isWindows = is.windows()

function Login() {
	return (
		<LoginWrapper>
			<header className="App-header"></header>
		</LoginWrapper>
	)
}

const LoginWrapper = styled.div`
	.App-header {
		background-color: #282c34;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		font-size: calc(10px + 2vmin);
		text-align: center;

		div,
		p {
			color: white;
			margin-bottom: 10px;
		}

		button {
			margin-bottom: 10px;
		}

		.App-logo {
			height: 40vmin;
			pointer-events: none;
		}
	}

	@media (prefers-reduced-motion: no-preference) {
		.App-logo {
			animation: App-logo-spin infinite 20s linear;
		}
	}

	@keyframes App-logo-spin {
		from {
			transform: rotate(0deg);
		}
		to {
			transform: rotate(360deg);
		}
	}
`

export default Login
